<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改用户列表')" />
</head>

<body class="white-bg">
    <div class="wrapper wrapper-content">

        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>基本信息</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="row">
                            <div class="col-sm-12">
                                <table class="table table-hover margin bottom left right" style="table-layout:fixed;">
                                    <tbody>
                                    <tr>
                                        <td >手机号</td>
                                        <td ><span th:text="${userInfo.baseInfo.mobile}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >用户id</td>
                                        <td ><span th:text="${userInfo.baseInfo.uid}" style="background: gainsboro; padding: 3px"></span></td>
                                    </tr>
                                    <tr>
                                        <td >姓名</td>
                                        <td ><span th:text="${userInfo.baseInfo.username}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >平台</td>
                                        <td ><span th:text="${userInfo.extInfo.appName}" style="background: gainsboro; padding: 3px"></span></td>
                                    </tr>
                                    <tr>
                                        <td >年龄</td>
                                        <td ><span th:text="${userInfo.baseInfo.age}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >性别</td>
                                        <td ><span th:text="${userInfo.baseInfo.sex}" style="background: gainsboro; padding: 3px"></span></td>
                                    </tr>
                                    <tr>
                                        <td >省</td>
                                        <td ><span th:text="${userInfo.baseInfo.province}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >市</td>
                                        <td ><span th:text="${userInfo.baseInfo.city}" style="background: gainsboro; padding: 3px"></span></td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>认证信息</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="row">
                            <div class="col-sm-12">
                                <table class="table table-hover margin bottom" style="table-layout:fixed;">
                                    <tbody>
<!--                                    style="background: gainsboro; text-align: center"-->
                                    <tr>
                                        <td >贷款金额</td>
                                        <td ><span th:text="${userInfo.extInfo.loanAmount}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >贷款时间</td>
                                        <td ><span th:text="${userInfo.extInfo.loanTime}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >是否逾期</td>
                                        <td ><span th:text="${userInfo.extInfo.yuqi}" style="background: gainsboro; padding: 3px"></span></td>
                                    </tr>
                                    <tr>
                                        <td >芝麻分数</td>
                                        <td ><span th:text="${userInfo.extInfo.zhima}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >白条</td>
                                        <td ><span th:text="${userInfo.extInfo.baitiao}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >花呗</td>
                                        <td ><span th:text="${userInfo.extInfo.huabei}" style="background: gainsboro; padding: 3px"></span></td>
                                    </tr>
                                   <tr>
                                        <td >房产情况</td>
                                        <td ><span th:text="${userInfo.extInfo.house}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >车产情况</td>
                                        <td ><span th:text="${userInfo.extInfo.car}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >公积金情况</td>
                                        <td ><span th:text="${userInfo.extInfo.gjj}" style="background: gainsboro; padding: 3px"></span></td>
                                    </tr>
                                   <tr>
                                        <td >社保情况</td>
                                        <td ><span th:text="${userInfo.extInfo.shebao}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >保单情况</td>
                                        <td ><span th:text="${userInfo.extInfo.baodan}" style="background: gainsboro; padding: 3px"></span></td>
                                        <td >学历</td>
                                        <td ><span th:text="${userInfo.extInfo.xueli}" style="background: gainsboro; padding: 3px"></span></td>
                                    </tr>
                                   <tr>
                                        <td >企业主</td>
                                        <td ><span th:text="${userInfo.extInfo.enterpriseOwner}" style="background: gainsboro; padding: 3px"></span></td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

<!--        <div class="row"  th:if="${riskFlag == 1}">-->
<!--            <div class="col-sm-12">-->
<!--                <div class="ibox float-e-margins">-->
<!--                    <div class="ibox-title">-->
<!--                        <h5>风控信息</h5>-->
<!--                    </div>-->
<!--                    <div class="ibox-content">-->
<!--                        <div class="row">-->
<!--                            <div class="col-sm-12">-->
<!--                                <table class="table table-hover margin bottom left right" style="table-layout:fixed;">-->
<!--                                    <tbody>-->
<!--                                    <tr>-->
<!--                                        <td >贷款行为分</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170001}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                        <td >近1个月贷款笔数</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170002}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                    </tr>-->
<!--                                    <tr>-->
<!--                                        <td >近3个月贷款笔数</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170003}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                        <td >近6个月贷款笔数</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170004}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                    </tr>-->
<!--                                    <tr>-->
<!--                                        <td >近1个月贷款总金额</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170007}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                        <td >近3个月贷款总金额</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170008}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                    </tr>-->
<!--                                    <tr>-->
<!--                                        <td >近6个月贷款总金额</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170009}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                        <td >近6个月M0+逾期贷款笔数</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170025}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                    </tr>-->
<!--                                    <tr>-->
<!--                                        <td >近12个月M0+逾期贷款笔数</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170026}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                        <td >正常还款订单数占贷款总订单数比例</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170034}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                    </tr>-->
<!--                                    <tr>-->
<!--                                        <td >近1个月失败扣款笔数</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170035}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                        <td >近3个月失败扣款笔数</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170036}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                    </tr>-->
<!--                                    <tr>-->
<!--                                        <td >近1个月履约贷款次数</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170045}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                        <td >近3个月履约贷款次数</td>-->
<!--                                        <td ><span th:text="${memberRiskInfo.behaviorReportDetail.B22170046}" style="background: gainsboro; padding: 3px"></span></td>-->
<!--                                    </tr>-->
<!--                                    </tbody>-->
<!--                                </table>-->
<!--                            </div>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
<!--            </div>-->
<!--        </div>-->

    </div>






    <div class="col-sm-12">

    <button th:if="${riskFlag == 1}" onclick="View();" class="styled-button" style="background-color: red; color: white;">查看风控信息</button>
</div>

    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var uid = [[${userInfo.baseInfo.uid}]];
        var prefix =  "special/agency/data";
        function View(){
            var url = prefix + '/View/' + uid;
            var width = 1500; // 设置弹窗宽度
            var height = 800; // 设置弹窗高度
            $.modal.open('风控详情', url,width,height);
        }

    </script>

</body>


</html>